import { IMAGE_CDN } from "@/config/index.ts";
/* 邀请好友按钮 */

/* 打卡邀请 背景图 */
export const CLOCK_INVITING_BGI = `${ IMAGE_CDN }/CLOCK_INVITING_BGI.png`;
/* 临时的用户头像 */
export const USER_IMG = `${ IMAGE_CDN }/USER_IMG.png`;

/* 临时qrcode */
export const QR_CODE = `${ IMAGE_CDN }/QR_CODE.png`;

/* 右箭头-- 打卡日签/打卡完结 */
export const RIGHT_ARROWS = `${ IMAGE_CDN }/RIGHT_ARROWS.png`;

/* 打卡日签 背景图 */
export const CLOCK_SIGN_BGI = `${ IMAGE_CDN }/CLOCK_SIGN_BGI.png`;

/* 打卡完结 背景图 */
export const CLOCK_OVER_BGI = `${ IMAGE_CDN }/CLOCK_OVER_BGI.png`;

/* 打卡完结数字框 */
export const CLOCK_OVER_NUMBER_BOX = `${ IMAGE_CDN }/CLOCK_OVER_NUMBER_BOX.png`;

/* 关闭弹窗按钮 */
export const CLOSED = `${ IMAGE_CDN }/CLOSED.png`;

/* 输入用语提示图标 */
export const WORDING_IMG = `${ IMAGE_CDN }/WORDING_IMG.png`;

/* 用语提示背景图 */
export const WORDING_TOOLTIP_BGI = `${ IMAGE_CDN }/WORDING_TOOLTIP_BGI.png`;

/* 上传图片图标 */
export const UPLOAD_IMG = `${ IMAGE_CDN }/UPLOAD_IMG.png`;

/* 录音图标 */
export const RECORD_IMG = `${ IMAGE_CDN }/RECORD_IMG.png`;

/* 日签-保存按钮icon */
export const SAVE_ICON = `${ IMAGE_CDN }/SAVE_ICON.png`;

/* 长按保存图片 */
export const LONG_TIME_PRESS_ICON = `${ IMAGE_CDN }/LONG_TIME_PRESS_ICON.png`;

/* 提交按钮背景 */
export const SUBMIT_BTN_BGI = `${ IMAGE_CDN }/SUBMIT_BTN_BGI.png`;

/* 存在两个按钮时 按钮背景图 */
export const SUBMIT_BTN_BGI_SMALL = `${ IMAGE_CDN }/SUBMIT_BTN_BGI_SMALL.png`;

/* 开始录音图标 */
export const START_RECORDER_ICON = `${ IMAGE_CDN }/START_RECORDER_ICON.png`;

/* 停止录音图标 */
export const END_RECORDER_ICON = `${ IMAGE_CDN }/END_RECORDER_ICON.png`;

/* 答题打卡--未选中状态图标 */
export const CHECK_ICON = `${ IMAGE_CDN }/CHECK_ICON.png`;

/* 答题打卡--选中状态图标 */
export const CHECKED_ICON = `${ IMAGE_CDN }/CHECKED_ICON.png`;

/* 按钮置灰状态背景图 */
export const BTN_DISABLED_BGI = `${ IMAGE_CDN }/BTN_DISABLED_BGI.png`;
/* 删除图片音频图标 */
export const DELETE_ICON = `${ IMAGE_CDN }/DELETE_ICON.png`;
/* 关闭modal 图标 */
export const MODAL_DEL_ICON = `${ IMAGE_CDN }/MODAL_DEL_ICON.png`;
/* 双重奖励 背景图 */
export const DOUBLE_AWARD_BGI = `${ IMAGE_CDN }/DOUBLE_AWARD_BGI.png`;

/* 弹窗类型 */
  /* 打卡邀请 */
export const CLOCK_INVITING = 'clockInviting'
  /* 打卡日签 */
export const CLOCK_SIGN_STR = 'clockSign'
export const CLOCK_SIGN = 1

  /* 打卡完结 */
export const OVER_SIGN_STR = 'overSign'
export const OVER_SIGN = 2

export const CLOCK_SIGN_CLASS = {
  [CLOCK_SIGN]: CLOCK_SIGN_STR, 
  [OVER_SIGN]: OVER_SIGN_STR
}


/* 打卡类型 */
/* 输入打卡 */
export const INPUT_CLOCK = 1
/* 答题打卡 */
export const ANSWER_CLOCK = 2

/* 提交打卡错误状态 */
/* 不在打卡时段 */
export const NOT_SUBMIT_TIME = 4001

/* 主题错误状态 */
/* 活动结束 */
export const ACTIVE_END = 4011
/* 活动下架 */
export const ACTIVE_SOLD_OUT = 4010


/* 打卡最大图片数量 */
export const MAX_IMAGE_LENGTH = 9

/* 打卡录音最大条数 */
export const MAX_RECORD_LENGTH = 7